package net.zwet.clanworks.connectors.eve.api.utils;

import java.text.DecimalFormat;

public class CurrencyUtils {
	public static final String defaultCurrencyFormat = "#,##0.00 ISK";
	
	public static final String convertToString ( Double value, String format ) {
		if ( value == null ) {
			value = new Double(0);
		}

		DecimalFormat Currency = new DecimalFormat(format);
		
		return Currency.format(value);
	}
}
